package com.qifei.xmlg_backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qifei.xmlg_backend.DTO.logs.LogsQueryDTO;
import com.qifei.xmlg_backend.entity.Logs;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qifei.xmlg_backend.entity.PageBean;

/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author logs
 * @since 2025-06-17
 */
public interface ILogsService extends IService<Logs> {

    /**
     * 记录操作日志
     */
    void recordLog(Long userId, String username, String operation, String method, String url, String ip, Integer status);

    IPage<Logs> getLogsPage(LogsQueryDTO queryDTO,Integer page,Integer pageSize);
}
